package org.example.mapper;

import org.example.domain.City;

import java.util.List;

public interface CityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(City record);

    City selectByPrimaryKey(Long id);

    List<City> selectAll();

    int updateByPrimaryKey(City record);
    List<City> selectByProvinceId(Long provinceId);

    List<City> selectAllCity();
}